package com.zhengxiang.onlinexamination.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhengxiang.onlinexamination.entity.ExamResult;
import com.zhengxiang.onlinexamination.entity.vo.ExamResultVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * 考试结果(ExamResult)表服务接口
 *
 * @author makejava
 * @since 2023-04-11 20:29:19
 */
public interface ExamResultService extends IService<ExamResult> {


    /**
     * 获取考试结果
     * */
    ExamResultVo getExamResultInfo(ExamResultVo examResultVo);
    /**
     * 获取y员工考试结果
     * */
    ExamResultVo getExamResultInfoById(ExamResultVo examResultVo);

    /**
     * 交卷
     * */
    void handPaper(ExamResultVo examResultVo);

    /**
     * 考试结果列表
     * */
    IPage queryExamResultList(ExamResultVo examResultVo);

    /**
     * 小程序交卷
     * */
    void correctExaminationPaper(ExamResultVo examResultVo);
}
